package com.ld.security.auth.client;


import com.ld.security.common.shiro.EnableShiro;
import com.ld.security.common.tomcat.BaseClient;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 *  启动包
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({AutoConfiguration.class})
@Documented
@Inherited
@EnableDiscoveryClient      // 服务注册与发现
// @EnableSwagger2Doc   //api接口i
@EnableFeignClients  //远程调用
//  @EnableDistributedTransaction //分布式事务
@BaseClient
@EnableShiro
public @interface AuthClient {
}
